export default [
  {
    path: '/login',
    name: 'login',
    component: () => import('views/user/Login.vue'),
    meta: {
      title: '登录',
      auth: true,
      keepAlive: false
    }
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('views/user/Register.vue'),
    meta: {
      title: '注册',
      auth: true,
      keepAlive: false
    }
  },
  {
    path: '/about',
    name: 'about',
    component: resolve => require(['@/views/about.vue'],resolve),
    meta: {
      title: '个人中心'
    }
  },
  {
    path: '/detail',
    name: 'detail',
    component: resolve => require(['@/views/detail.vue'],resolve),
    meta: {
      title: '详情',
      keepAlive: false
    }
  }
]
